/*
 * @Description: vuex的入口文件
 */
import { createStore } from "vuex";
import { movie, order, seat, user ,room,discuss,picture,arrange} from "./modules";
import getters from "./getters";
import persistedstate from "vuex-persistedstate"

export default createStore({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    user,
    movie,
    order,
    seat,
    room,
    discuss,
    picture,
    arrange
  },
  getters,
  plugins: [persistedstate({
    storage:window.sessionStorage
  })]
});
